package ink.xiaobaibai.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaobaibai
 * @since 2021-05-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fault_device")
public class FaultDevice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 故障表主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 臭氧机机器识别码
     */
    @TableField("device_code")
    private String deviceCode;

    /**
     * 多选故障类型
     */
    @TableField("fault_type")
    private String faultType;

    /**
     * 用户自述原因
     */
    @TableField("fault_reason")
    private String faultReason;

    /**
     * 客户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 客户预留电话
     */
    @TableField("phone")
    private String phone;

    /**
     * 当前处理状态
     */
    @TableField("status")
    private String status;

    /**
     * 负责人id
     */
    @TableField("admin_user_id")
    private Integer adminUserId;

    /**
     * 负责人部门
     */
    @TableField("dep_id")
    private Integer depId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
